package singleton;

/**
 * @author : DuJiabao
 * @Date : 2021/3/1 17:51
 * @Project : design-pattern
 * @File : null.java
 * @Desc :
 */
public class Test {
  public static void main(String[] args) {
    Singleton6 instance = Singleton6.INSTANCE;
    Singleton6 instance2 = Singleton6.INSTANCE;
    System.out.println(instance == instance2); // true
    instance.sayOK(); // ok
  }
}
